adding automated substeps