add editor
add memory
some changes