modify operation in class index