updated default_base to be more general