Reapply code