Names of variables were modified to be cohesive throughout code

Line one is still giving errors