added type to motivation text, fixed pep8

dont know what happened here