the promise is returned in line 755.