syntax error in main