?edit to initialize editor