lab3 problem