what are the 3 purposes of foundation