add talk function