Detecting things that rarely occur