adding and subtracting from buffert