cleaned up session doc