Managers and the legal environment