more db_query usage