Changed the input variable to be final.