delete performance code