Changed chooseint to exclusive