changed > to >>
fixed bug where words printed twice