Defects code