major improvements of attachment operations