Changed a naming error in the code