and look at docs, it gives you element index too