added thematic legend