weird problems with mapVals and photocell sentence generation