added #indexBy