turning debug on to test search