start of c mode