loss of normal function of the ovary