lab3 assignment