example code for a pretend grocery store