c code done