cashRegister Tweak

Combined two variables in order to cut down on the amount of code and
simplify it a little.; also changed return variable name.