more use of arraygrid class