added four .c files