qg variables