re design code