revised equation variables, and p4/5 production code.