using model to make a link from category to grocery