change circularbuffer, add method in Trame, modify server