more work on transaction and cash register classes