added fail state for cashRegister.subtract if total < 0