defects cost energy