throws exception on search