copying into kernel