added global Buffer