not sure about resolving problem with spaces between words in {}