require 'core' core.print("hello, kernel world!\n") function onClose() core.print('I am about to be closed\n') end