Introducing dynamical definition of the index