adding grid creation to the gui