replaced symbols with string tokens