fixing function name and renaming kernel file