make sure new prompt function is ALWAYS called