fmt code