gridImplementation