attachment done with relationship