Adding buffer and array.