modified main option 1