Added functionality to have event cutoff times.