HMM works, need to modify it to get useful results though