filled up some methods for dbuffer