Add sample code for CDH