prepare information for figures