adjust code to account for new patentcluster api