adds the promise dependency