added "endpoint" chat