formatt code