changed way figures are shown