corrected variables name to lowercase