Code used to create final results.