simmulated annealing is working properly!