Session 3 initial code