added attachments and views