made some c changes