work on the session