combine Patent & PatentExt; some improvements