added docs on attachments