updated to pep8 standards