initial work on legend