Altered version of schedule now works with genetic algorithms