implementing flowremoved handling
4 files changed