final version of session1