Abortive work on adding a legend