Functional final version.