extracted variables for buffer length's