change kernel.function to modules.function
new file