clean up code

ran code through linters