added session state