using filters to code less