simulation for gene