check for symbols and strings