attachments on visits
more attachment code