Shouldn't there be some place in here the "setInterval" function that is used by Patrolling example in Advanced examples?