changed get_category