updated lab4 file