building the base