add legend and opening-page text