removed unused part of index