Corrected variable names