ex.3 done, pep8