Implementing the formula choices generator - OUCH my brain!