first try for forward algorithm