Select the main function from the correct version.