adds attachments