changed promise to allow then(sync) and continueWith(task)