Now allows selective events generation and better selection of rate