patched tutorial
added single var