added cdrDemo