Update 3main.cpp