support multiple attachments