add comment for getcategories