add figure output