Protective legislation and women workers