Change of randomint method and  	modify settings.