worked up the scheduling