What is a major function of a foundation