added basic grid gen