handles multi-word strings