how to use prior probability - Search