changed fitness function