what are the types of foundation