add code, locationref, photo