added cashier resource
retrofitted code