Added radio check for api library