example dc implementation