Adding a potential helper method to Schedule.java