Add legends and labels