moved schedule methods into their own file called schedule.js