increased buffer length, buffer length can be set via localStorage