Add receiving code from Kernel. Kernel and use