Refit code