get a first version of clearchat working