begin grid dom