moved queries from utilities.py to queries.py