Added Promise.done()