adds a convenience filter method