c code

organized