removed is_cat() method