finished the fitness functions, I think