Adding old code for comparison.