corrected variable naming