Expanded upon BoolGene example