Incomplete and not promisified version