lab 3 solution