Fixed a bug in the multi-word method; changed the visualization method