main modify