added annealing