integrated promises

promises added