new Function initPrompt defined; preparation for bug fix
Bug fix: reverse search