debugged Run_CS