change key variables to Capital of query_runner.py