starting buffer class