changes suggested in dicussion, pep8