add legend, and already-implemented short-hand