change init val to rand for all programs