added buffer comments