added a class and an index for etest