Implemented functions that return more values to Lua