change write.c