fixed pep8 n function