updated requirements
pep8-ized code