now with string input