bare bones core.lua