was using duplicate variable names in the same function...forsooth!