Uploaded example C code for reference