legend and a button
Merge branch 'ui'