started implementation of chat