completed exercise 3 term sentiment