Converted the list, buffer and count back to private