insertBuffer