Add loop with timer3