Can't we just do `resolve.value` in this block or am I misreading the code?