class filter to work with class page type