Make legend configurable, add title
add our pairs file