new chat system without separate thread