Prepare base structure