a partially working editor, almost