HMM working for steps not tested yet