Validation for symbols

I have added validation for symbols