Use helper method to remove redundant grid creation code