Made some change to coding index