removed step generation code (is faulty)