First version of editor