set loop period as 1o mins