Functionalist view on the family