improved the editor