Adding CTC stuff. Hopefully this works