Window filtering now working