assignment 7 for lab 548691