simple genetic working