needed to import apiquery into main.js