fixed repeated random interval, using recursion