added QG variables to reduction input/output