add write, writeln, modify read