adapt format