adding index selector class