final tweaks
start demo 1 with a template function already existing