Session 1 code added