support adding attachments