added dummy_out, and genetic algorithm