JK: Added missing variable type declaration.