Added AttachInline method