Submission version of code.