for project 4, finish computer exercise 7