adds filter method and leves query() for refresh purposes