add synchronized buffer