lab 05 -> 06 solutions