flat-conversion