removed extra semicolon from main.cpp