change the c source codes