cannot declare a variable of class and later assign an instance to it. Created begin method in grid to workaround this