Issue #22: created filter method prototype