Added utility func for making elements var-wise distinct