revise main