Worked on 'GeneR' function.