initial creation of editor