removed buffer size, added for loop to buffer..