corrected 'etd_step()' - code not functional