Ones example solution in Lua.