added some session changes