modified main cpp