add mirror and typify transformation on indices