get patent_example working with custom blocks