bases of chat mechanism