add randInt(), random regions example
update api