Add legends and notification