VARGP refactored