adding binding for random