add final event and alternative computation of pf orientation