derives index for smart tab
adjusted names