filtering "works" but is not correct at all and needs to be debugged