Changed chooseint to inclusive