change buffer length to 100