nest function working in here to create paths between categories, e.g. exercise / food