How to use own kernel