add function for sexual reproduction