add legend and title