new changes for session duration