result_base library