interface for debugging chain algorithm
interface for debugging chain algorithm