Preparation of the foundation