Updated the input method to be a string