some more session code