Added ability to pass a string