reformatted filter class