making prompt() calls in rkey() work