moved all code to Session 1