left duplicate code in exif because of package visibility issues.  come back to this later.