add basis for genetic algorithm