testing buffer resize modification