Added promise
Removed duplicate line.
Made a promise.