added legend needs configuration