added lab2 code