adds in genetic algorithm