added padded and unpadded buffering