init user interaction tutorial
update for inclusion of global mutable variables