adding in filter method