updated lab 6