extending the Index interface
minor refactor
delegate the index comparation strategy