foundry types