add attach.