add square validation to Grid
rename variable