changed session code