correct join and talk function