Added randiv_ts