added integrate_times example