Time is set to 2 seconds in this demo.