tried adding syscall.h header for mod_write, made directory for write