added initinal buffer