Global configuration working, implemented legend