added loops that will run the actors every five seconds