version working with chat