More work on lab3.