lab2 problem