Variable naming error fixed