buffer modifications