Using genetic algorithm GA