added mapping from text to symbols