Missing parentheses in main function