modularize app
dynamic legend text