added foundation stuff again