add  documentation to the base.h