Added stringInput function