make promises chain

See related issue, something like this is working for me