Prepare base