replaced prompts with _prompt functions