refomat code