Externalized qg