checkpoint in implementing channel API