group variable should be private in getModel