added argument currying to filter functions