changed setNumber to index of set list