addAttachment support