changed the initialization to deterministic case