added new changes from the TODO  list to evolution algorithm