edge attachment and detachment