Title: A model of child endowments, and the quality and quantity of children