starting working on chat implementation