restored Michael's edit in RandomMoveSchedule