hybrid code and gene family functions