adding figure data output