category legend is functioning