code examples for ZCTS