category check working