working to find proper return for kernel.