make a useful metatable