updated design of PureChat