ehancement to editor