added IndexEntry struct