lab7 assignment