add an example with a promise