extending grid example