last-minute deprecation of Promise