
Still working on converting this from Lua to Io