added code to ignore symbols