added getRandomIntegerBetween method