now with an index