changed bach to random sampling for Omega