code starting to be pep8 compliant