improved legend, info box