balancing detachment and attachment