add rnd function
update readme