editor done, need to work on saving