Added missing variable declaration