added more grid functionality