Code formatting

changes name and syntax of variable.