working version of grocery helper