added scheduling for annealing