added simple legend