working on gridInstances