extracted adding editors to a method