add confirm messages to main function