Added basic chat func.