Lab 8 solutions