add extend api to base