updated lab4