added definition for index based selectors