thanks for the suggestion. but i don't think this is right, because the next line uses features that aren't in general promise implementations. i will fix this in a different way.