Implemented working hours properly