add category filter method