Added new demo (using onLoop)