Lab 3 solutions