added initial C file for building