moved switxh of c