Re-formatting codes