work on attachments