Fixed syntax error in main