changed grocery example for more generic usage