add doc for base