renamed bufferlength to entries