rework query db.
query. query. query.