write compatability