started set interval function