renamed get category to get categories