Working conditions: legal aspect