$interval & $timeout

change setIntervallto $interval
change setTimeout to $timeout