a simple editor