superficial refactoring the send_schedule to make it a easier to read