added foundation stuff