dont create a potentially large array of indices