Now with an example of how to wrap these in Q promises