added initial phase of grabmem in go