filering is working.. needs some refinement