update styles
add legend. closes #2