Agent class: tweaked genetic flow