Modify main