coding style and use new visualization structure