Different legend in different mode and some comments