Smoothened out the randominess.