extract attribute indexing to method