flat_to_flat