add Forward algorithm