updated signals
redesigned features to discriminate between end (e) and continuation and branch (c&b)