updated lab 7