variable name typos and linting issues