For lab3.