made selection filter work