Simplify Main Program