Simplify flow diagram