delcared buffer as global veriable