some more debug info - TODO: correct endian support