core module: buffer