Pass reference instead of copy in writeEditors function