method lookup x = try self#lookup_or_fail x with Not_found -> []