updated lab 3