style(q) change to db_query