Show example how to use with Promises; closes #4