updated to intialize activestep and activestepname