indexing seems to work, might be fast enough