finished implementation of attachment nodes