work in progress on attachments