implemented WHERE clauses.