removed buffer class