added closing session