quick restructure to use fig - this looks promising for defining chains of interlinked images