added more methods to Kernel class