adding session.close