Session 3 solutions workings