Added code to initialize the CTC