made tutorial safer