Edited to pep8 standard.