linting some of the code