moved the schedule_spread method outside of the schedule method