Added rejection sampling section