Which underlined verb in the sentence is a linking verb?

We were talking so intently that we almost missed the train, but we were thankful we heard the announcement.


a heard

b were

c were talking

d missed