the implement the right fitness function.