Added new kernel(wip) and made some fixes