Getting index of 5