add denomination category conditional
fixed count-change, localized cases
this was easier to solve in pen and paper rather than in code