replace do end with { } within Lua language