much cleaner interface to editor