Issue #37 added legenda