start working on session code