better global api support