added terminal and error checking on symbol entry