finish speak function