Added utils for random data gen