In hysteroscopy, a tiny tube with a camera is inserted into the vagina to let a doctor to observe the uterus in order to