Syntax repair
Refactor time_slot_creator