redefine grid