get_category_max added.