updated lab3 - done