made changes to meet pep8 standards