Using pointers for the prompts array to allow returning to the node