refactor
legend, refactor, marks