added legend route