buffer utils added