Title: A model of marriage and fertility