add example for fetching categories and sub-categories