since I'm learning Lua now I had to rearrange