start adding grid functionality