refactored the default grid creation into a seperate method