fomat code