change the code style to comply with pep8