adding smooth random demo script