Added IndexChecker class