added variables for number of pregnancy.