made changes to lab7