added cloes_session in beginning