Removed promise.then