removing part of index method