added sum of fitness values variable