addressed pylint warnings