something wrong with template <string> getInput()