Inserting and deleting on buffer functioning.