edited variable names.