refactoring indicator function and adding option nit to shiw rotation and data list