lab3 from stub4