lab 03 -> 04 solutions