Explain the prompting logic more fully.