Fix typo
Add buffer_size as argument