completing some promisification