add fully working filter
corrected the typos