almost identical where clauses