added thw 2nd lab (not actually written but with the understanding of what is happening)