add buff analysiser and circle buffer