randomized initialization