implemented delay between loops (use interDelay prop)