adding comments and pylint pass