Moving towards genetic algorithm