added .c support