Adding new hybrid pattern/TM activity, TM stream fix