Reduced number of comp_prompt() calls