adding and consoling queryObject