style and add some index