xmp read/write now works :)