add .c support