Added C source code