begin do rmemory, at first compile ok