How we generate the formats