new pattern for link contract template