interval 1 sec -> 5 sec, and check if debug is on