list.index(item) is slow