(#46) - use global promises