updated ctc prototype