added get_category_list function.