added buffer move