getCategoriesWithRoots added