re-write base.lua