(-) bug: buffer to copy