writing LinkedBuffer