generalize Node value from Char to String