for #47 using thenResolve works great