forgot to add the promise library as a dependency