Renamed variable to correct name