Add percentage and use promises

returning the promise here allows me to access the result of that promise in the next then()