deleting unused parts