build the base