fomate code