index counter minor restyling