modified buffer