added active index