completely retooled format conversion handling