First draft of spawnTimeSlots method
Refactoring method using coding conventions