added setFertility function
3