updated lab 4