now using promise 0.1.1