added type to motivation text, fixed pep8

pep8 fix