added pair HMM TODO