added translation of input symbols