added grid rows and padding