improved the ASCII flow diagrams