get_base is now public