Fix syntax error
uncomment main function