writer.c Add