instead of tabuList[9] is this maybe supposed to be tabuList[tabuListLength-1]?