a little linting and beautification