showPrompt should also be promissory