further refinement of ascii generator